package com.tiny.persistence.repository;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.springframework.data.repository.CrudRepository;

public interface BaseRepo<T, ID extends Serializable> extends CrudRepository<T, ID> {

	public List<?> getListByCondition(Map<String, Object> condition);
	
	public int getCountByCondition(Map<String, Object> condition);
	
}
